import os
failList = list()
for root,dirs,files in os.walk(os.getcwd()):
	for fileName in files: 
		if (fileName.find(".")>=0):
			if(fileName.split(".")[-1] == "lrc"):
				try:
					file = open(os.path.join(root,fileName),"rb+")
					buf = file.read()
					file.close()
					file = open(os.path.join(root,fileName),"wb+")
					file.write(buf.decode("gb18030").encode("utf8"))
					file.close()
				except UnicodeDecodeError:
					failList.append(fileName)
print(failList)